import App from './App'

// #ifndef VUE3
import Vue from 'vue'
import './uni.promisify.adaptor'


// main.js
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
	...App
})
app.$mount()
// #endif
import * as Pinia from 'pinia';
<<<<<<< HEAD
import {
	createUnistorage
} from "@/uni_modules/pinia-plugin-unistorage"
=======
>>>>>>> 8e38b09233bb4e9930eb2933d0e483ab2018ca5c
import uviewPlus from '@/uni_modules/uview-plus'
import "/static/common.scss"
import gloab from "@/common/gloab"
import config from "@/common/config"
import http from "@/utils/http"
// #ifdef VUE3
import {
	createSSRApp
} from 'vue'
export function createApp() {
	const app = createSSRApp(App)
<<<<<<< HEAD
	const store = Pinia.createPinia()
	store.use(createUnistorage())
	app.use(store);
=======
	app.use(Pinia.createPinia());
>>>>>>> 8e38b09233bb4e9930eb2933d0e483ab2018ca5c
	app.use(uviewPlus)
	app.config.globalProperties.$gloab = gloab
	app.config.globalProperties.$config = config
	app.config.globalProperties.$http = http
	return {
		app
	}
}
// #endif